const routes=[
    {
        path:'/',
        redirect:'/home',
        component:()=>import('../views/home/index.vue')
    },
    {
        path:'/home',
        name:'home',
        component:()=>import('../views/home/index.vue')
    },
    {
        path:'/bookhotel',
        name:'bookhotel',
        component:()=>import('../views/bookhotel/index.vue')
    },
    {
        path:'/myorder',
        name:'myorder',
        component:()=>import('../views/myorder/index.vue')
    },
    {
        path:'/mapside',
        name:'mapside',
        component:()=>import('../views/mapside/index.vue')
    },
    {
        path:'/about',
        name:'about',
        component:()=>import('../views/about/index.vue')
    },
    {
        path:'/login',
        name:'login',
        component:()=>import('../views/user/index.vue')
    },
]

export default routes